package com.woniuxy.health.commons.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.List;

/*
    报告单表
 */
@TableName("t_report")
@Data
@Accessors(chain = true)
public class Report {
    @TableId(type = IdType.AUTO)
    private int id;
    private String orderNo;
    private String userName;
    private String packageName;
    @TableField(exist = false)  //备注数据库没有这个字段
    private List<ReportResult> reportResults;
}
